﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CNVP.JShop.BLL
{
    public class BLLRateStatus
    {
        public string GetRateStatus(byte rateStatus)
        {
            string rateTtml = "";
            for (int i = 0; i < rateStatus; i++)
            {
                rateTtml += "<img src=\"/images/star_on.gif\" />";
            }
            for (int i = 0; i < (5 - rateStatus); i++)
            {
                rateTtml += "<img src=\"/images/star_off.gif\" />";
            }
            return rateTtml;
        }

    }
}
